package com.example.startapp.entity;


public class User {
    private Integer userId;
    private String userName;
    private String userPwd;
    private Role role;

    // Constructors
    public User() {
        this.userId = userId;
        this.userName = userName;
        this.userPwd = userPwd;
        this.role = role;
    }

    public User(Integer userId, String userName, String userPwd, Role role) {
        this.userId = userId;
        this.userName = userName;
        this.userPwd = userPwd;
        this.role = role;
    }

    // Getters and Setters
    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPwd() {
        return userPwd;
    }

    public void setUserPwd(String userPwd) {
        this.userPwd = userPwd;
    }

    public Role getRole() {
        return role;
    }

    public void setRole(Role role) {
        this.role = role;
    }

    // Other methods, such as toString, equals, and hashCode, can be added if needed
}